package utils.global.redis;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Import;
import org.springframework.data.redis.core.RedisTemplate;
import utils.global.UtilsConfig;

@ConditionalOnClass(RedisTemplate.class)
@Import({RedisUtils.class, RedisSetting.class})
@Slf4j
public class RedisConfig {
    public RedisConfig() {
        log.info(String.format(UtilsConfig.printInfo, "redis"));
    }
}
